<template>
  <div class="header">
    <!-- this is  header -->
    <div class="header-left">
      <span class="iconfont">&#xe624;</span>
    </div>
    <div class="header-input">
      <span class="iconfont">&#xe632;</span>
      输入城市/游玩/城市主题
    </div>
    <router-link to="/city">
      <div class="header-right">
        <span class="iconfont">&#xe600;城市</span>
      </div>
    </router-link>
  </div>
</template>
<script>
export default {
  name: "HomeHeader",
};
</script>
<style lang="stylus" scoped>
.header {
  display: flex;
  line-height: 0.86rem;
  background: #00bcd4;
  color: #fff;

  .header-left {
    width: 0.64rem;
    float: left;
  }

  .header-input {
    margin-top: 0.12rem;
    line-height: 0.64rem;
    margin-left: 0.2rem;
    margin-bottom: 0.12rem;
    background: #fff;
    border-radius: 0.1rem;
    padding-right: 1.7rem;
    color: #ccc;
    flex: 1;
  }

  .header-right {
    width: 1.24rem;
    display: right;
    text-align: center;
  }
}
</style>


